home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / raytrace / rayshade / doc / guide / transfor.tex / node1_ct.html < prev    next >
LaTeX Document  |  1992-02-09  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: node1_ct.html

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text, with CRLF, LF line terminators default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 54 72 | 61 6e 73 66 6f 72 6d 61 |ts of Tr|ansforma|
|000000b0| 74 69 6f 6e 73 3c 2f 54 | 49 54 4c 45 3e 0a 0a 3c |tions</T|ITLE>..<|
|000000c0| 4d 45 54 41 20 48 54 54 | 50 2d 45 51 55 49 56 3d |META HTT|P-EQUIV=|
|000000d0| 22 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 22 20 43 |"Content|-Type" C|
|000000e0| 4f 4e 54 45 4e 54 3d 22 | 74 65 78 74 2f 68 74 6d |ONTENT="|text/htm|
|000000f0| 6c 3b 20 63 68 61 72 73 | 65 74 3d 75 74 66 2d 38 |l; chars|et=utf-8|
|00000100| 22 3e 0a 3c 4d 45 54 41 | 20 4e 41 4d 45 3d 22 76 |">.<META| NAME="v|
|00000110| 69 65 77 70 6f 72 74 22 | 20 43 4f 4e 54 45 4e 54 |iewport"| CONTENT|
|00000120| 3d 22 77 69 64 74 68 3d | 64 65 76 69 63 65 2d 77 |="width=|device-w|
|00000130| 69 64 74 68 2c 20 69 6e | 69 74 69 61 6c 2d 73 63 |idth, in|itial-sc|
|00000140| 61 6c 65 3d 31 2e 30 22 | 3e 0a 3c 4d 45 54 41 20 |ale=1.0"|>.<META |
|00000150| 4e 41 4d 45 3d 22 47 65 | 6e 65 72 61 74 6f 72 22 |NAME="Ge|nerator"|
|00000160| 20 43 4f 4e 54 45 4e 54 | 3d 22 4c 61 54 65 58 32 | CONTENT|="LaTeX2|
|00000170| 48 54 4d 4c 20 76 32 30 | 32 32 22 3e 0a 0a 3c 4c |HTML v20|22">..<L|
|00000180| 49 4e 4b 20 52 45 4c 3d | 22 53 54 59 4c 45 53 48 |INK REL=|"STYLESH|
|00000190| 45 45 54 22 20 48 52 45 | 46 3d 22 74 72 61 6e 73 |EET" HRE|F="trans|
|000001a0| 66 6f 72 2e 63 73 73 22 | 3e 0a 0a 3c 4c 49 4e 4b |for.css"|>..<LINK|
|000001b0| 20 52 45 4c 3d 22 70 72 | 65 76 69 6f 75 73 22 20 | REL="pr|evious" |
|000001c0| 48 52 45 46 3d 22 74 72 | 61 6e 73 66 6f 72 5f 6d |HREF="tr|ansfor_m|
|000001d0| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 4c 49 4e 4b 20 52 |n.html">|.<LINK R|
|000001e0| 45 4c 3d 22 75 70 22 20 | 48 52 45 46 3d 22 74 72 |EL="up" |HREF="tr|
|000001f0| 61 6e 73 66 6f 72 5f 6d | 6e 2e 68 74 6d 6c 22 3e |ansfor_m|n.html">|
|00000200| 0a 3c 2f 48 45 41 44 3e | 0a 20 0a 3c 42 4f 44 59 |.</HEAD>|. .<BODY|
|00000210| 20 62 67 63 6f 6c 6f 72 | 3d 22 23 66 66 66 66 66 | bgcolor|="#fffff|
|00000220| 66 22 20 74 65 78 74 3d | 22 23 30 30 30 30 30 30 |f" text=|"#000000|
|00000230| 22 20 6c 69 6e 6b 3d 22 | 23 39 39 34 34 45 45 22 |" link="|#9944EE"|
|00000240| 20 76 6c 69 6e 6b 3d 22 | 23 30 30 30 30 66 66 22 | vlink="|#0000ff"|
|00000250| 20 61 6c 69 6e 6b 3d 22 | 23 30 30 66 66 30 30 22 | alink="|#00ff00"|
|00000260| 3e 0a 0a 3c 48 31 3e 3c | 41 20 49 44 3d 22 53 45 |>..<H1><|A ID="SE|
|00000270| 43 54 49 4f 4e 30 30 31 | 30 30 30 30 30 30 30 30 |CTION001|00000000|
|00000280| 30 30 30 30 30 30 30 30 | 30 22 3e 0a 54 72 61 6e |00000000|0">.Tran|
|00000290| 73 66 6f 72 6d 61 74 69 | 6f 6e 73 3c 2f 41 3e 0a |sformati|ons</A>.|
|000002a0| 3c 2f 48 31 3e 0a 0a 3c | 50 3e 0a 73 75 70 70 6f |</H1>..<|P>.suppo|
|000002b0| 72 74 73 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |rts the |applicat|
|000002c0| 69 6f 6e 20 6f 66 20 6c | 69 6e 65 61 72 20 74 72 |ion of l|inear tr|
|000002d0| 61 6e 73 66 6f 72 6d 61 | 74 69 6f 6e 73 20 74 6f |ansforma|tions to|
|000002e0| 20 6f 62 6a 65 63 74 73 | 0d 0a 61 6e 64 20 74 65 | objects|..and te|
|000002f0| 78 74 75 72 65 73 2e 20 | 20 49 66 20 6d 6f 72 65 |xtures. | If more|
|00000300| 20 74 68 61 6e 20 6f 6e | 65 20 74 72 61 6e 73 66 | than on|e transf|
|00000310| 6f 72 6d 61 74 69 6f 6e | 20 69 73 20 73 70 65 63 |ormation| is spec|
|00000320| 69 66 69 65 64 2c 20 74 | 68 65 0d 0a 74 6f 74 61 |ified, t|he..tota|
|00000330| 6c 20 72 65 73 75 6c 74 | 69 6e 67 20 74 72 61 6e |l result|ing tran|
|00000340| 73 66 6f 72 6d 61 74 69 | 6f 6e 20 69 73 20 63 6f |sformati|on is co|
|00000350| 6d 70 75 74 65 64 20 61 | 6e 64 20 61 70 70 6c 69 |mputed a|nd appli|
|00000360| 65 64 2e 0a 0a 3c 50 3e | 0a 3c 42 52 3e 0a 3c 49 |ed...<P>|.<BR>.<I|
|00000370| 4d 47 0a 20 20 53 54 59 | 4c 45 3d 22 68 65 69 67 |MG. STY|LE="heig|
|00000380| 68 74 3a 20 31 39 36 2e | 32 35 65 78 3b 20 76 65 |ht: 196.|25ex; ve|
|00000390| 72 74 69 63 61 6c 2d 61 | 6c 69 67 6e 3a 20 2d 30 |rtical-a|lign: -0|
|000003a0| 2e 37 30 65 78 3b 20 22 | 20 53 52 43 3d 22 69 6d |.70ex; "| SRC="im|
|000003b0| 67 31 2e 70 6e 67 22 0a | 20 41 4c 54 3d 22 5c 62 |g1.png".| ALT="\b|
|000003c0| 65 67 69 6e 7b 64 65 66 | 6b 65 79 7d 7b 74 72 61 |egin{def|key}{tra|
|000003d0| 6e 73 6c 61 74 65 7d 7b | 5c 65 76 65 63 7b 64 65 |nslate}{|\evec{de|
|000003e0| 6c 74 61 7d 7d 0a 54 72 | 61 6e 73 6c 61 74 65 20 |lta}}.Tr|anslate |
|000003f0| 28 6d 6f 76 65 29 20 62 | 79 20 7b 5c 65 6d 20 64 |(move) b|y {\em d|
|00000400| 65 6c 74 61 7d 2e 0a 5c | 65 6e 64 7b 64 65 66 6b |elta}..\|end{defk|
|00000410| 65 79 7d 22 3e 0a 3c 42 | 52 3e 0a 0a 3c 50 3e 0a |ey}">.<B|R>..<P>.|
|00000420| 3c 42 52 3e 0a 3c 49 4d | 47 0a 20 20 53 54 59 4c |<BR>.<IM|G. STYL|
|00000430| 45 3d 22 68 65 69 67 68 | 74 3a 20 32 2e 33 38 65 |E="heigh|t: 2.38e|
|00000440| 78 3b 20 76 65 72 74 69 | 63 61 6c 2d 61 6c 69 67 |x; verti|cal-alig|
|00000450| 6e 3a 20 31 37 36 2e 34 | 30 65 78 3b 20 22 20 53 |n: 176.4|0ex; " S|
|00000460| 52 43 3d 22 69 6d 67 32 | 2e 70 6e 67 22 0a 20 41 |RC="img2|.png". A|
|00000470| 4c 54 3d 22 5c 62 65 67 | 69 6e 7b 64 65 66 6b 65 |LT="\beg|in{defke|
|00000480| 79 7d 7b 72 6f 74 61 74 | 65 7d 7b 5c 65 76 65 63 |y}{rotat|e}{\evec|
|00000490| 7b 61 78 69 73 7d 20 24 | 5c 74 68 65 74 61 24 7d |{axis} $|\theta$}|
|000004a0| 0a 52 6f 74 61 74 65 20 | 63 6f 75 6e 74 65 72 2d |.Rotate |counter-|
|000004b0| 63 6c 6f 63 6b 77 69 73 | 65 20 61 62 6f 75 74 20 |clockwis|e about |
|000004c0| 74 68 65 20 67 69 76 65 | 6e 20 61 78 69 73 20 62 |the give|n axis b|
|000004d0| 79 20 24 5c 74 68 65 74 | 61 24 5c 20 64 65 67 72 |y $\thet|a$\ degr|
|000004e0| 65 65 73 2e 0a 5c 65 6e | 64 7b 64 65 66 6b 65 79 |ees..\en|d{defkey|
|000004f0| 7d 22 3e 0a 3c 42 52 3e | 0a 0a 3c 50 3e 0a 3c 42 |}">.<BR>|..<P>.<B|
|00000500| 52 3e 0a 3c 49 4d 47 0a | 20 20 53 54 59 4c 45 3d |R>.<IMG.| STYLE=|
|00000510| 22 68 65 69 67 68 74 3a | 20 32 2e 31 37 65 78 3b |"height:| 2.17ex;|
|00000520| 20 76 65 72 74 69 63 61 | 6c 2d 61 6c 69 67 6e 3a | vertica|l-align:|
|00000530| 20 31 37 36 2e 36 38 65 | 78 3b 20 22 20 53 52 43 | 176.68e|x; " SRC|
|00000540| 3d 22 69 6d 67 33 2e 70 | 6e 67 22 0a 20 41 4c 54 |="img3.p|ng". ALT|
|00000550| 3d 22 5c 62 65 67 69 6e | 7b 64 65 66 6b 65 79 7d |="\begin|{defkey}|
|00000560| 7b 73 63 61 6c 65 7d 7b | 5c 65 76 65 63 7b 76 7d |{scale}{|\evec{v}|
|00000570| 7d 0a 53 63 61 6c 65 20 | 62 79 20 7b 5c 65 6d 20 |}.Scale |by {\em |
|00000580| 76 7d 2e 0a 5c 65 6e 64 | 7b 64 65 66 6b 65 79 7d |v}..\end|{defkey}|
|00000590| 22 3e 0a 3c 42 52 3e 0a | 41 6c 6c 20 74 68 72 65 |">.<BR>.|All thre|
|000005a0| 65 20 73 63 61 6c 69 6e | 67 20 63 6f 6d 70 6f 6e |e scalin|g compon|
|000005b0| 65 6e 74 73 20 6d 75 73 | 74 20 62 65 20 6e 6f 6e |ents mus|t be non|
|000005c0| 2d 7a 65 72 6f 2c 20 65 | 6c 73 65 20 64 65 67 65 |-zero, e|lse dege|
|000005d0| 6e 65 72 61 74 65 20 6d | 61 74 72 69 63 65 73 0d |nerate m|atrices.|
|000005e0| 0a 77 69 6c 6c 20 72 65 | 73 75 6c 74 2e 0a 0a 3c |.will re|sult...<|
|000005f0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|00000600| 54 59 4c 45 3d 22 68 65 | 69 67 68 74 3a 20 32 2e |TYLE="he|ight: 2.|
|00000610| 31 37 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |17ex; ve|rtical-a|
|00000620| 6c 69 67 6e 3a 20 31 37 | 36 2e 35 35 65 78 3b 20 |lign: 17|6.55ex; |
|00000630| 22 20 53 52 43 3d 22 69 | 6d 67 34 2e 70 6e 67 22 |" SRC="i|mg4.png"|
|00000640| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 64 65 |. ALT="\|begin{de|
|00000650| 66 6b 65 79 7d 7b 74 72 | 61 6e 73 66 6f 72 6d 7d |fkey}{tr|ansform}|
|00000660| 7b 5c 65 76 65 63 7b 72 | 6f 77 31 7d 20 5c 65 76 |{\evec{r|ow1} \ev|
|00000670| 65 63 7b 72 6f 77 32 7d | 20 5c 65 76 65 63 7b 72 |ec{row2}| \evec{r|
|00000680| 6f 77 33 7d 20 5b 5c 65 | 76 65 63 7b 64 65 6c 74 |ow3} [\e|vec{delt|
|00000690| 61 7d 5d 7d 0a 41 2e 2e | 2e 0a 2e 2e 2e 69 6f 6e |a}]}.A..|.....ion|
|000006a0| 20 6d 61 74 72 69 78 2e | 20 49 66 20 67 69 76 65 | matrix.| If give|
|000006b0| 6e 2c 20 7b 5c 65 6d 20 | 64 65 6c 74 61 7d 0a 73 |n, {\em |delta}.s|
|000006c0| 70 65 63 69 66 69 65 73 | 20 61 20 74 72 61 6e 73 |pecifies| a trans|
|000006d0| 6c 61 74 69 6f 6e 20 76 | 65 63 74 6f 72 2e 0a 5c |lation v|ector..\|
|000006e0| 65 6e 64 7b 64 65 66 6b | 65 79 7d 22 3e 0a 3c 42 |end{defk|ey}">.<B|
|000006f0| 52 3e 0a 0a 3c 50 3e 0a | 54 72 61 6e 73 66 6f 72 |R>..<P>.|Transfor|
|00000700| 6d 61 74 69 6f 6e 73 20 | 73 68 6f 75 6c 64 0d 0a |mations |should..|
|00000710| 62 65 20 73 70 65 63 69 | 66 69 65 64 20 69 6e 20 |be speci|fied in |
|00000720| 74 68 65 20 6f 72 64 65 | 72 20 69 6e 20 77 68 69 |the orde|r in whi|
|00000730| 63 68 20 74 68 65 79 20 | 61 72 65 20 74 6f 20 62 |ch they |are to b|
|00000740| 65 20 61 70 70 6c 69 65 | 64 0d 0a 69 6d 6d 65 64 |e applie|d..immed|
|00000750| 69 61 74 65 6c 79 20 66 | 6f 6c 6c 6f 77 69 6e 67 |iately f|ollowing|
|00000760| 20 74 68 65 20 69 74 65 | 6d 20 74 6f 0d 0a 62 65 | the ite|m to..be|
|00000770| 20 74 72 61 6e 73 66 6f | 72 6d 65 64 2e 20 20 46 | transfo|rmed. F|
|00000780| 6f 72 20 65 78 61 6d 70 | 6c 65 3a 0a 0a 3c 50 3e |or examp|le:..<P>|
|00000790| 0a 3c 50 52 45 3e 0d 0a | 20 20 20 20 20 20 20 20 |.<PRE>..| |
|000007a0| 2f 2a 0d 0a 20 20 20 20 | 20 20 20 20 20 2a 20 45 |/*.. | * E|
|000007b0| 6c 6c 69 70 73 6f 69 64 | 2c 20 72 6f 74 61 74 65 |llipsoid|, rotate|
|000007c0| 64 20 63 75 62 65 0d 0a | 20 20 20 20 20 20 20 20 |d cube..| |
|000007d0| 20 2a 2f 0d 0a 20 20 20 | 20 20 20 20 20 73 70 68 | */.. | sph|
|000007e0| 65 72 65 20 31 2e 20 30 | 20 30 20 30 20 20 20 73 |ere 1. 0| 0 0 s|
|000007f0| 63 61 6c 65 20 32 2e 20 | 31 2e 20 31 2e 20 74 72 |cale 2. |1. 1. tr|
|00000800| 61 6e 73 6c 61 74 65 20 | 30 20 30 20 2d 32 2e 35 |anslate |0 0 -2.5|
|00000810| 0d 0a 20 20 20 20 20 20 | 20 20 62 6f 78 20 30 20 |.. | box 0 |
|00000820| 30 20 30 20 2e 35 20 2e | 35 20 2e 35 0d 0a 20 20 |0 0 .5 .|5 .5.. |
|00000830| 20 20 20 20 20 20 20 20 | 20 72 6f 74 61 74 65 20 | | rotate |
|00000840| 30 20 30 20 31 20 34 35 | 20 72 6f 74 61 74 65 20 |0 0 1 45| rotate |
|00000850| 31 20 30 20 30 20 34 35 | 20 74 72 61 6e 73 6c 61 |1 0 0 45| transla|
|00000860| 74 65 20 30 20 30 20 32 | 2e 35 0a 3c 2f 50 52 45 |te 0 0 2|.5.</PRE|
|00000870| 3e 0a 0a 3c 50 3e 0a 54 | 72 61 6e 73 66 6f 72 6d |>..<P>.T|ransform|
|00000880| 61 74 69 6f 6e 73 20 6d | 61 79 20 61 6c 73 6f 20 |ations m|ay also |
|00000890| 62 65 20 61 70 70 6c 69 | 65 64 20 74 6f 20 74 65 |be appli|ed to te|
|000008a0| 78 74 75 72 65 73 3a 0a | 0a 3c 50 3e 0a 3c 50 52 |xtures:.|.<P>.<PR|
|000008b0| 45 3e 0d 0a 20 20 20 70 | 6c 61 6e 65 20 30 20 30 |E>.. p|lane 0 0|
|000008c0| 20 2d 34 20 20 30 20 30 | 20 31 0d 0a 20 20 20 20 | -4 0 0| 1.. |
|000008d0| 20 74 65 78 74 75 72 65 | 20 63 68 65 63 6b 65 72 | texture| checker|
|000008e0| 20 72 65 64 20 73 63 61 | 6c 65 20 32 20 32 20 32 | red sca|le 2 2 2|
|000008f0| 20 72 6f 74 61 74 65 20 | 30 20 30 20 31 20 34 35 | rotate |0 0 1 45|
|00000900| 0a 3c 2f 50 52 45 3e 0a | 0a 3c 50 3e 0a 4e 6f 74 |.</PRE>.|.<P>.Not|
|00000910| 65 20 74 68 61 74 20 74 | 72 61 6e 73 66 6f 72 6d |e that t|ransform|
|00000920| 61 74 69 6f 6e 20 70 61 | 72 61 6d 65 74 65 72 73 |ation pa|rameters|
|00000930| 20 6d 61 79 20 62 65 20 | 73 70 65 63 69 66 69 65 | may be |specifie|
|00000940| 64 20 75 73 69 6e 67 0d | 0a 61 6e 69 6d 61 74 65 |d using.|.animate|
|00000950| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 73 2c 20 63 |d expres|sions, c|
|00000960| 61 75 73 69 6e 67 20 74 | 68 65 20 74 72 61 6e 73 |ausing t|he trans|
|00000970| 66 6f 72 6d 61 74 69 6f | 6e 73 20 74 68 65 6d 73 |formatio|ns thems|
|00000980| 65 6c 76 65 73 0d 0a 74 | 6f 20 62 65 20 61 6e 69 |elves..t|o be ani|
|00000990| 6d 61 74 65 64 2e 20 20 | 53 65 65 20 41 70 70 65 |mated. |See Appe|
|000009a0| 6e 64 69 78 20 42 20 66 | 6f 72 20 66 75 72 74 68 |ndix B f|or furth|
|000009b0| 65 72 20 64 65 74 61 69 | 6c 73 2e 0d 0a 0a 3c 48 |er detai|ls....<H|
|000009c0| 52 3e 0a 0a 3c 2f 42 4f | 44 59 3e 0a 3c 2f 48 54 |R>..</BO|DY>.</HT|
|000009d0| 4d 4c 3e 0a | |ML>. | |
+--------+-------------------------+-------------------------+--------+--------+